//
//  WanfaModel.h
//  SSC
//
//  Created by 红沙尘 on 17/6/17.
//  Copyright © 2017年 红沙尘. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "HaomaSelectModel.h"

@interface WanfaModel : NSObject

@property (nonatomic, assign, readonly) CGFloat payMoney;

@property (nonatomic, assign) int playid;
@property (nonatomic, assign, readonly) int n;
@property (nonatomic, assign, readonly) int beishu;
@property (nonatomic, assign, readonly) int zhushu;
@property (nonatomic, strong, readonly) NSString *name;//玩法的名字
@property (nonatomic, strong, readonly) NSString *desc;//玩法说明
@property (nonatomic, strong, readonly) NSString *maxPrice;//最多可中多少钱
@property (nonatomic, strong, readonly) NSMutableArray<HaomaSelectModel *> *dataArray;

- (id)initWithNamed:(NSString *)name desc:(NSString *)desc maxPrice:(NSString *)maxPrice;

- (void)updateBeishu:(int)beishu;

- (CGFloat)payMoneyWithSelectedArray:(NSMutableArray <HaomaSelectModel *>*)selectArray;

@end
